import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useCountStore = defineStore( 'count', () => {
	
    const count = ref<number>(0)  

    const add = () =>  count.value++  

    return {   count, add  }
	
  }
)
